<?php
use yii\bootstrap\ActiveForm;
use yii\helpers\Html;
//面包屑
$this->title = $data['title'];
$this->params['breadcrumbs'][] = ['label' => '文章','url' => ['post/index']];
$this->params['breadcrumbs'][] = $this->title;
?>

<div class="row">
    <div class="col-lg-9">
        <div class="page-title box-title">
            <span><?=$data['title'] ?></span>
        </div>
        <div class="page-body">
            <span>作者：<?=$data['user_name'] ?></span>
            <span>发布：<?=date('Y--m-d',$data['created_at']) ?></span>
            <span>浏览：0 次</span>
        </div>
        <?=$data['content'] ?>
        <div class="page-tag">
            标签：
            <?php foreach($data['tags'] as $tag):?>
            <span><a href="#"><?=$tag ?></a></span>
            <?php endforeach;?>
        </div>
    </div>


    <div class="col-lg-3">
        <div class="panel-title box-title">
            <span>注意事项</span>
        </div>
        <div class="panel-body">
            <p>1.aaaaaa</p>
            <p>2.aaaaaa</p>
        </div>
    </div>
</div>